﻿<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="CityFly">
    <xsl:output method="html" encoding="utf-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
  <xsl:param name="rowcount"/>			<!--数据库总记录数-->
  <xsl:param name="maxrow"/>				<!--每页记录数-->
  <xsl:param name="curpage"/>				<!--当前页码-->
  <xsl:param name="param"/>					<!--引入 param 参数-->
  <xsl:param name="templatename"/>	<!--Label.xml 模块名称-->
  <xsl:param name="orderby"/>				<!--Label.xml orderby 参数-->
  <xsl:param name="where"/>					<!--Label.xml where 参数-->
  <xsl:param name="runtime"/>				<!--运行时长-->
  <msxsl:script language="javascript" implements-prefix="user">function numOptions(fS,fE,fV){
    var str ='';
    for(var i=int(fS);i&lt;=int(fE);i++){
    str=str+"&lt;option"
    if(i==fV){str=str+" selected='1' "}
    var val ='';
    for(var j=i.toString().length;j&lt;fS.toString().length;j++){
    val = '0' + val;
    }
    str=str+" value='"+val+i+"'&gt;"+val+i+"&lt;/option&gt;";
    }
    return str;
    }
    function getSplitValue(fnStr,fnSplit,fnIndex,fnDefault){
    	if(fnStr.length==0)return fnDefault;
        var values = fnStr.split(fnSplit);
        if(values.length==0||values.length&lt;=fnIndex) return fnDefault;
    	return (fnStr.split(fnSplit))[fnIndex].toString();
    }
    </msxsl:script>
  <xsl:template match="/">
    <form id="form1" style="text-align:left;padding:5px;width:98%">
    <link href="/Css/jx/right.css" rel="stylesheet" type="text/css" />
    <div class="b_title">联系方式</div>
    <div class="b_title5">
      <table width="100%" border="0" cellpadding="5" cellspacing="1" >
        <tr>
          <td width="60" ><img src="/images/jx/icon1.gif"  /></td>
          <td ><span class="df60">重要提醒：</span><br />
            贵公司的资料上网后会受到其他客户及工商质检部门等多方关注，请如实填写！因此虚假信息产生的相关责任，将由贵公司自行承担！  </td>
        </tr>
      </table>
    </div>
    <div>提示：带 <span class="red">*</span> 为必填项</div>
    <div class="b_title1" >联系方式的确认与修改</div>
    <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#E0E0E0" >
      <tr valign="top">
        <td width="165" class="bf6">姓名：<span class="red">*</span></td>
        <td class="bwhite"><input name="F_Name" type="text" class="w250" id="F_Name" value="{rows/row/F_Name}" />
          <span class="c99">请填写贵公司的联系人(2～30个汉字)。</span></td>
      </tr>
      <tr valign="top">
        <td class="bf6">部门：&nbsp;&nbsp;</td>
        <td class="bwhite"><input name="F_Dept" type="text" class="w250" id="F_Dept" value="{rows/row/F_Dept}" /></td>
      </tr>
      <tr valign="top">
        <td class="bf6">职位：&nbsp;&nbsp;</td>
        <td class="bwhite"><input name="F_Job" type="text" class="w250" id="F_Job" value="{rows/row/F_Job}" /></td>
      </tr>
      <tr valign="top">
        <td class="bf6">公司电话：<span class="red">*</span></td>
        <td class="bwhite"><table cellspacing="0" border="0">
            <tbody>
              <tr>
                <td>国家区号：</td>
                <td>城市区号：</td>
                <td>号码：</td>
              </tr>
              <tr>
                <td><input maxlength="8" class="w50" value="{user:getSplitValue(string(rows/row/F_Phone),'-',0,'086')}" name="phone1" id="phone1" /></td>
                <td><input name="phone2" class="w50" id="phone2"  value="{user:getSplitValue(string(rows/row/F_Phone),'-',1,'0595')}" maxlength="8" /></td>
                <td><input name="phone3" class="w100" id="phone3" value="{user:getSplitValue(string(rows/row/F_Phone),'-',2,'')}" maxlength="64"/>
                  <span class="c99">(只能填写固定电话！)</span> </td>
              </tr>
            </tbody>
          </table></td>
      </tr>
      <tr valign="top">
        <td class="bf6">传真：&nbsp;&nbsp;</td>
        <td class="bwhite"><table cellspacing="0" border="0">
            <tbody>
              <tr>
                <td>国家区号：</td>
                <td>城市区号：</td>
                <td>号码：</td>
              </tr>
              <tr>
                <td><input maxlength="8" class="w50" value="{user:getSplitValue(string(rows/row/F_Fax),'-',0,'086')}" name="fax1" /></td>
                <td><input maxlength="8" class="w50"  value="{user:getSplitValue(string(rows/row/F_Fax),'-',1,'0595')}" name="fax2" /></td>
                <td><input maxlength="64" class="w100"  value="{user:getSplitValue(string(rows/row/F_Fax),'-',2,'')}" name="fax3" /></td>
              </tr>
            </tbody>
          </table></td>
      </tr>
      <tr valign="top">
        <td class="bf6">手机：&nbsp;&nbsp;</td>
        <td class="bwhite"><input name="F_Mobile" type="text" class="w250" id="F_Mobile" value="{rows/row/F_Mobile}" /></td>
      </tr>
      <tr valign="top">
        <td class="bf6">所在地区：<span class="red">*</span></td>
        <td class="bwhite"><select id="provinceCN" onchange="xPage.loadOptions(capitalCN,this,'子级地区选择');xPage.setTagValue('F_AreaCode',this.value);xPage.getSelectObjText('F_AreaName',provinceCN,capitalCN,cityCN)" name="provinceCN" class="w100">
          <option value="">全部省份</option>
          <city_list>地区选择</city_list>
        </select>
<select id="capitalCN" onchange="xPage.loadOptions(cityCN,this,'子级地区选择');xPage.setTagValue('F_AreaCode',this.value);xPage.getSelectObjText('F_AreaName',provinceCN,capitalCN,cityCN)" name="capitalCN" class="w100">
            <option value="">全部城市</option>
          </select>
          <select id="cityCN" onchange="xPage.setTagValue('F_AreaCode',this.value);xPage.getSelectObjText('F_AreaName',provinceCN,capitalCN,cityCN)" name="cityCN" class="w100">
        <option value="">全部区县</option>
      </select>
          <input name="F_AreaCode" type="hidden" id="F_AreaCode" value="{rows/row/F_AreaCode}" /></td>
      </tr>
      <tr valign="top">
        <td class="bf6">街道地址：<span class="red">*</span></td>
        <td class="bwhite"><input name="F_AreaName" type="text" id="F_AreaName" value="{rows/row/F_AreaName}" style="border:0px;width:100%" readonly="yes" /><br/>
          <input name="F_Address" class="w250" id="F_Address" title="请补充后面的详细街道地址" value="{rows/row/F_Address}" maxlength="40" />
          <span class="c99">请补充街道、门牌号</span> </td>
      </tr>
      <tr valign="top">
        <td class="bf6">邮政编码：&nbsp;&nbsp;</td>
        <td class="bwhite"><input name="F_ZipCode" class="w250" id="F_ZipCode" title="请补充后面的详细街道地址" value="{rows/row/F_ZipCode}" maxlength="40" /></td>
      </tr>
      <tr valign="top">
        <td class="bf6">Email：<span class="red">*</span></td>
        <td class="bwhite"><input name="F_Email" class="w250" id="F_Email" title="请补充后面的详细街道地址" value="{rows/row/F_Email}" maxlength="40" /></td>
      </tr>
      <tr valign="top">
        <td class="bf6">公司网址：&nbsp;&nbsp;</td>
        <td class="bwhite"><input name="F_WebUrl" class="w250" id="F_WebUrl" title="请补充后面的详细街道地址" value="{rows/row/F_WebUrl}" maxlength="40" /></td>
      </tr>
    </table>
    <div class="mt20" style="padding-left:200px;text-align:left;">
      <input type="button" name="Submit2" value="保存修改" onclick="xPassport.saveContentCmd(this,xPage.$('form1'),'企业联系方式')" class="ok2"/>
    </div>
    </form>

  </xsl:template>
</xsl:stylesheet>
